package com.yict.csms.resourceplan.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yict.csms.company.entity.Company;
import com.yict.csms.system.entity.DataDict;

/**
 * 
 * @author Patrick.Deng
 * 
 */
@Entity
@Table(name = "CSMS_RTGC_FL_CONTRACTOR")
public class RtgcFlContractor {

	@Id
	@Column(name = "RFCID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "csms_rtgc_fl_contractor_seq")
	@SequenceGenerator(name = "csms_rtgc_fl_contractor_seq", sequenceName = "SEQ_CSMS_RTGC_FL_CONTRACTOR", allocationSize = 1, initialValue = 1)
	private Long rfcId;

	@ManyToOne
	@JoinColumn(name = "ALLID")
	private RtgcFlPlanAll rtgcFlPlanAll;

	@ManyToOne
	@JoinColumn(name = "COMPANYID")
	private Company company;

	@ManyToOne
	@JoinColumn(name = "ORDERID")
	private RtgcFlOrder rtgcFlOrder;

	@ManyToOne
	@JoinColumn(name = "MODETYPE")
	private DataDict modeType;

	@Column(name = "TIMESEGMENT1")
	private Double timeSegment1;

	@Column(name = "TIMESEGMENT2")
	private Double timeSegment2;
	
	@Column(name = "TIMESEGMENT3")
	private Double timeSegment3;
	
	@Column(name = "TIMESEGMENT4")
	private Double timeSegment4;
	
	@Column(name = "TIMESEGMENT5")
	private Double timeSegment5;
	
	@Column(name = "TIMESEGMENT6")
	private Double timeSegment6;
	
	@Column(name = "TIMESEGMENT7")
	private Double timeSegment7;
	
	@Column(name = "TIMESEGMENT8")
	private Double timeSegment8;
	
	@Column(name = "TIMESEGMENT9")
	private Double timeSegment9;
	
	@Column(name = "TIMESEGMENT10")
	private Double timeSegment10;
	
	@Column(name = "TIMESEGMENT11")
	private Double timeSegment11;
	
	@Column(name = "TIMESEGMENT12")
	private Double timeSegment12;
	
	@Column(name = "TIMESEGMENT13")
	private Double timeSegment13;
	
	@Column(name = "TIMESEGMENT14")
	private Double timeSegment14;
	
	@Column(name = "TIMESEGMENT15")
	private Double timeSegment15;
	
	@Column(name = "TIMESEGMENT16")
	private Double timeSegment16;
	
	@Column(name = "ALLQUANHOURS")
	private Double allQuanHours;
	
	@Column(name = "CREATEPERSON")
	private Long createPerson;
	
	@Column(name = "CREATEDATE")
	private Date createDate;
	
	@Column(name = "UPDATEPERSON")
	private Long updatePerson;
	
	@Column(name = "UPDATEDATE")
	private Date updateDate;

	public Long getRfcId() {
		return rfcId;
	}

	public void setRfcId(Long rfcId) {
		this.rfcId = rfcId;
	}

	public RtgcFlPlanAll getRtgcFlPlanAll() {
		return rtgcFlPlanAll;
	}

	public void setRtgcFlPlanAll(RtgcFlPlanAll rtgcFlPlanAll) {
		this.rtgcFlPlanAll = rtgcFlPlanAll;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public RtgcFlOrder getRtgcFlOrder() {
		return rtgcFlOrder;
	}

	public void setRtgcFlOrder(RtgcFlOrder rtgcFlOrder) {
		this.rtgcFlOrder = rtgcFlOrder;
	}

	public DataDict getModeType() {
		return modeType;
	}

	public void setModeType(DataDict modeType) {
		this.modeType = modeType;
	}

	public Double getTimeSegment1() {
		return timeSegment1;
	}

	public void setTimeSegment1(Double timeSegment1) {
		this.timeSegment1 = timeSegment1;
	}

	public Double getTimeSegment2() {
		return timeSegment2;
	}

	public void setTimeSegment2(Double timeSegment2) {
		this.timeSegment2 = timeSegment2;
	}

	public Double getTimeSegment3() {
		return timeSegment3;
	}

	public void setTimeSegment3(Double timeSegment3) {
		this.timeSegment3 = timeSegment3;
	}

	public Double getTimeSegment4() {
		return timeSegment4;
	}

	public void setTimeSegment4(Double timeSegment4) {
		this.timeSegment4 = timeSegment4;
	}

	public Double getTimeSegment5() {
		return timeSegment5;
	}

	public void setTimeSegment5(Double timeSegment5) {
		this.timeSegment5 = timeSegment5;
	}

	public Double getTimeSegment6() {
		return timeSegment6;
	}

	public void setTimeSegment6(Double timeSegment6) {
		this.timeSegment6 = timeSegment6;
	}

	public Double getTimeSegment7() {
		return timeSegment7;
	}

	public void setTimeSegment7(Double timeSegment7) {
		this.timeSegment7 = timeSegment7;
	}

	public Double getTimeSegment8() {
		return timeSegment8;
	}

	public void setTimeSegment8(Double timeSegment8) {
		this.timeSegment8 = timeSegment8;
	}

	public Double getTimeSegment9() {
		return timeSegment9;
	}

	public void setTimeSegment9(Double timeSegment9) {
		this.timeSegment9 = timeSegment9;
	}

	public Double getTimeSegment10() {
		return timeSegment10;
	}

	public void setTimeSegment10(Double timeSegment10) {
		this.timeSegment10 = timeSegment10;
	}

	public Double getTimeSegment11() {
		return timeSegment11;
	}

	public void setTimeSegment11(Double timeSegment11) {
		this.timeSegment11 = timeSegment11;
	}

	public Double getTimeSegment12() {
		return timeSegment12;
	}

	public void setTimeSegment12(Double timeSegment12) {
		this.timeSegment12 = timeSegment12;
	}

	public Double getTimeSegment13() {
		return timeSegment13;
	}

	public void setTimeSegment13(Double timeSegment13) {
		this.timeSegment13 = timeSegment13;
	}

	public Double getTimeSegment14() {
		return timeSegment14;
	}

	public void setTimeSegment14(Double timeSegment14) {
		this.timeSegment14 = timeSegment14;
	}

	public Double getTimeSegment15() {
		return timeSegment15;
	}

	public void setTimeSegment15(Double timeSegment15) {
		this.timeSegment15 = timeSegment15;
	}

	public Double getTimeSegment16() {
		return timeSegment16;
	}

	public void setTimeSegment16(Double timeSegment16) {
		this.timeSegment16 = timeSegment16;
	}

	public Double getAllQuanHours() {
		return allQuanHours;
	}

	public void setAllQuanHours(Double allQuanHours) {
		this.allQuanHours = allQuanHours;
	}

	public Long getCreatePerson() {
		return createPerson;
	}

	public void setCreatePerson(Long createPerson) {
		this.createPerson = createPerson;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Long getUpdatePerson() {
		return updatePerson;
	}

	public void setUpdatePerson(Long updatePerson) {
		this.updatePerson = updatePerson;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
}
